package com.mhf.sentinel;


import com.mhf.domain.User;
import org.springframework.web.bind.annotation.PathVariable;

public class OrderFallbackClass {
    public static User getByIdFallback(@PathVariable("id") Long id, Throwable e){
        e.printStackTrace();
        return new User(-1L, "熔断！", "熔断数据！");
    }
}
